package com.hmall.item;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@MapperScan("com.hmall.item.mapper")
@SpringBootApplication
@EnableTransactionManagement
public class ItemApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemApplication.class, args);
        log.info("[商品微服务启动成功！说明：商品微服务，负责商品的CRUD]");
    }
}
